package com.yjc.hire.bo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import javax.validation.constraints.Email;
import javax.validation.constraints.NotBlank;
import java.time.LocalDate;

/**
 * </p>
 *
 * @author jcyin
 * @since 2025/7/20
 * </p>
 */

@Data
@NoArgsConstructor
@AllArgsConstructor
@ToString
public class ModifyUserBO {

    @NotBlank
    private String userId;

    private String face;
    private String sex;
    private String nickname;
    private String hrSignature;

    @JsonFormat(locale = "zh",timezone = "GMT+8",pattern = "yyyy-MM-dd")
    private LocalDate birthday;

    @Email
    private String email;

    @JsonFormat(locale = "zh",timezone = "GMT+8",pattern = "yyyy-MM-dd")
    private LocalDate startWorkDate;

    private String position;

}
